package model;


public class Race {

    private long rid;
    private String rname;
    private long cid;
    private String rurl;
    private String desc;

    public Race(long rid, String rname, long cid, String rurl, String desc) {
        this.rid = rid;
        this.rname = rname;
        this.cid = cid;
        this.rurl = rurl;
        this.desc = desc;
    }

    public Race(String rname) {
        this.rname = rname;
    }

    public long getRid() {
        return rid;
    }

    public void setRid(long rid) {
        this.rid = rid;
    }


    public String getRname() {
        return rname;
    }

    public void setRname(String rname) {
        this.rname = rname;
    }


    public long getCid() {
        return cid;
    }

    public void setCid(long cid) {
        this.cid = cid;
    }


    public String getRurl() {
        return rurl;
    }

    public void setRurl(String rurl) {
        this.rurl = rurl;
    }


    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public Race() {
    }
}
